home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995 August: Tool Chest / Dev.CD Aug 95 TC / Dev.CD Aug 95 TC.toast / Tool Chest / Interfaces / UniversalInterfaces 2.1B1 / AIncludes / FileTransferTools.a < prev    next >
Encoding:
Text File  |  1995-04-18  |  2.7 KB  |  103 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File:        FileTransferTools.a
  3. ;
  4. ;    Contains:    CommToolbox File Transfer Tools Interfaces.
  5. ;
  6. ;    Version:    Technology:    System 7.5
  7. ;                Package:    Universal Interfaces 2.1ß1 in “MPW Prerelease” on ETO #17
  8. ;
  9. ;    Copyright:    © 1984-1995 by Apple Computer, Inc.
  10. ;                All rights reserved.
  11. ;
  12. ;    Bugs?:        If you find a problem with this file, use the Apple Bug Reporter
  13. ;                stack.  Include the file and version information (from above)
  14. ;                in the problem description and send to:
  15. ;                    Internet:    apple.bugs@applelink.apple.com
  16. ;                    AppleLink:    APPLE.BUGS
  17. ;
  18. ;
  19.  
  20.     IF &TYPE('__FILETRANSFERTOOLS__') = 'UNDEFINED' THEN
  21. __FILETRANSFERTOOLS__ SET 1
  22.  
  23.  
  24.     IF &TYPE('__DIALOGS__') = 'UNDEFINED' THEN
  25.     include 'Dialogs.a'
  26.     ENDIF
  27. ;        include 'Errors.a'                                            ;
  28. ;            include 'ConditionalMacros.a'                            ;
  29. ;        include 'Memory.a'                                            ;
  30. ;            include 'Types.a'                                        ;
  31. ;            include 'MixedMode.a'                                    ;
  32. ;        include 'Windows.a'                                        ;
  33. ;            include 'Quickdraw.a'                                    ;
  34. ;                include 'QuickdrawText.a'                            ;
  35. ;            include 'Events.a'                                        ;
  36. ;                include 'OSUtils.a'                                ;
  37. ;            include 'Controls.a'                                    ;
  38. ;                include 'Menus.a'                                    ;
  39. ;        include 'TextEdit.a'                                        ;
  40.  
  41.     IF &TYPE('__FILETRANSFERS__') = 'UNDEFINED' THEN
  42.     include 'FileTransfers.a'
  43.     ENDIF
  44. ;        include 'CTBUtilities.a'                                    ;
  45. ;            include 'StandardFile.a'                                ;
  46. ;                include 'Files.a'                                    ;
  47. ;            include 'AppleTalk.a'                                    ;
  48. ;        include 'Connections.a'                                    ;
  49. ;        include 'Terminals.a'                                        ;
  50.  
  51. ; DEFs 
  52. fdefType                        EQU        'fdef'
  53. fsetType                        EQU        'fset'
  54. fvalType                        EQU        'fval'
  55. flocType                        EQU        'floc'
  56. fscrType                        EQU        'fscr'
  57. fbndType                        EQU        'fbnd'
  58. fverType                        EQU        'vers'
  59.  
  60. ; control 
  61. ftInitMsg                        EQU        0
  62. ftDisposeMsg                    EQU        1
  63. ftSuspendMsg                    EQU        2
  64. ftResumeMsg                        EQU        3
  65. ftMenuMsg                        EQU        4
  66. ftEventMsg                        EQU        5
  67. ftActivateMsg                    EQU        6
  68. ftDeactivateMsg                    EQU        7
  69. ftGetErrorStringMsg                EQU        8
  70. ftAbortMsg                        EQU        52
  71. ftStartMsg                        EQU        100
  72. ftExecMsg                        EQU        102
  73. ftSendMsg                        EQU        103
  74. ftReceiveMsg                    EQU        104
  75. ; setup 
  76. ftSpreflightMsg                    EQU        0
  77. ftSsetupMsg                        EQU        1
  78. ftSitemMsg                        EQU        2
  79. ftSfilterMsg                    EQU        3
  80. ftScleanupMsg                    EQU        4
  81. ; validate 
  82. ftValidateMsg                    EQU        0
  83.  
  84. ftDefaultMsg                    EQU        1
  85. ; scripting 
  86. ftMgetMsg                        EQU        0
  87. ftMsetMsg                        EQU        1
  88. ; localization 
  89. ftL2English                        EQU        0
  90. ftL2Intl                        EQU        1
  91.  
  92. FTSetupStruct             RECORD    0
  93. theDialog                 ds.l   1        ; offset: $0 (0)        ; the dialog form the application 
  94. count                     ds.w   1        ; offset: $4 (4)        ; first appended item 
  95. theConfig                 ds.l   1        ; offset: $6 (6)        ; the config record to setup 
  96. procID                     ds.w   1        ; offset: $A (10)        ; procID of the tool 
  97. sizeof                     EQU *            ; size:   $C (12)
  98.                         ENDR
  99.  
  100. ; typedef struct FTSetupStruct  FTSetupStruct
  101. ; typedef FTSetupStruct     *FTSetupPtr
  102.     ENDIF ; __FILETRANSFERTOOLS__
  103.